// 主启动项JS
import Vue from 'vue'
import App from './App'
import router from './router'

// 外部插件目录名  项目中node_modules下的插件
import Video from 'video.js'
import Axios from 'axios'
import $ from 'jquery'
import 'video.js/dist/video-js.css'
import { Button, Search, List,Cell, Divider,Form,Field,Toast,Dialog,CouponCell, CouponList, Popup } from 'vant';

// 外部插件赋值给Vue进行调用
Vue.config.productionTip = false
Vue.prototype.$video = Video
Vue.prototype.$axios = Axios

Vue.use(Button)
Vue.use(Search)
Vue.use(List)
Vue.use(Cell)
Vue.use(Divider)
Vue.use(Form)
Vue.use(Field)
Vue.use(Toast)
Vue.use(Dialog)
Vue.use(CouponList)
Vue.use(Popup )

new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
